package com.imooc.miaosha.pojo.domain;

import java.util.Date;

public class MiaoshaGoods {
    private long id;
    private long goodsId;
    private double miaoshaPrice;
    private int stock_count;
    private Date startDate;
    private Date endDate;

    @Override
    public String  toString() {
        return "MiaoshaGoods{" +
                "id=" + id +
                ", goods_id=" + goodsId +
                ", miaosha_price=" + miaoshaPrice +
                ", stock_count=" + stock_count +
                ", start_date=" + startDate +
                ", end_date=" + endDate +
                '}';
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(long goodsId) {
        this.goodsId = goodsId;
    }

    public double getMiaoshaPrice() {
        return miaoshaPrice;
    }

    public void setMiaoshaPrice(double miaoshaPrice) {
        this.miaoshaPrice = miaoshaPrice;
    }

    public int getStock_count() {
        return stock_count;
    }

    public void setStock_count(int stock_count) {
        this.stock_count = stock_count;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }
}
